* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
}

.page-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.main-workspace {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.tool-panel {
    width: 250px;
    background-color: #ffffff;
    border-right: 1px solid #ccc;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(135deg, #e3f2fd, #fce4ec);
}

.tool-panel h2 {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #333;
}

.tool-buttons button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #64b5f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tool-buttons button:hover {
    background-color: #42a5f5;
}

.project-management button {
    background-color: #ba68c8;
    color: white;
    border: none;
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
}

.layer-management ul,
.layer-management li {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}

.shape-properties form {
    font-size: 14px;
}

.save-section button {
    background-color: #ef5350;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

.cad-workspace {
    flex: 1;
    background-color: #fff;
    position: relative;
}

#cadCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #e8f5e9;
}